SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 47288: A SAS® Anti-Money Laundering query in the rc_combine macro does not account for Type 2 record changes

DetailsAboutRate It

The following query in the rc_combine macro does not account for Type 2 record changes in the fsk_risk_classifier table:

proc sql; create table work.rc_active_tables as select distinct source_table from seg_kc.fsk_risk_classifier where upcase(active_ind) = 'Y' and upcase(risk_classifier_type_code) NE 'RC0' order by source_table; quit;

When a query is deactivated through the user interface, the rc_collapse macro might fail as a result of reading inactive records instead of active records.

The preceding query should be modified by adding and upcase(current_ind) = 'Y' and upcase(logical_delete_ind) = 'N' as follows:

proc sql; create table work.rc_active_tables as select distinct source_table from seg_kc.fsk_risk_classifier where upcase(active_ind) = 'Y' and upcase(current_ind) = 'Y' and upcase(logical_delete_ind) = 'N' and upcase(risk_classifier_type_code) NE 'RC0' order by source_table; quit;

This change ensures that the proper results, Type 2 data, are provided to the rc_collapse macro.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Anti-Money LaunderingMicrosoft® Windows® for 64-Bit Itanium-based Systems2.2.14.29.1 TS1M3 SP49.2 TS2M3
Microsoft Windows Server 2003 Datacenter 64-bit Edition2.2.14.29.1 TS1M3 SP49.2 TS2M3
Microsoft Windows Server 2003 Enterprise 64-bit Edition2.2.14.29.1 TS1M3 SP49.2 TS2M3
Microsoft Windows XP 64-bit Edition2.2.14.29.1 TS1M3 SP49.2 TS2M3
Microsoft Windows 2000 Advanced Server2.2.19.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server2.2.19.1 TS1M3 SP4
Microsoft Windows 2000 Server2.2.19.1 TS1M3 SP4
Microsoft Windows 2000 Professional2.2.19.1 TS1M3 SP4
Microsoft Windows NT Workstation2.2.19.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition2.2.14.29.1 TS1M3 SP49.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition2.2.14.29.1 TS1M3 SP49.2 TS2M3
Microsoft Windows Server 2003 Standard Edition2.2.14.29.1 TS1M3 SP49.2 TS2M3
Microsoft Windows XP Professional2.2.14.29.1 TS1M3 SP49.2 TS2M3
Windows Vista2.2.14.29.1 TS1M3 SP49.2 TS2M3
Windows Vista for x642.2.14.29.1 TS1M3 SP49.2 TS2M3
64-bit Enabled AIX2.2.14.29.1 TS1M3 SP49.2 TS2M3
64-bit Enabled HP-UX2.2.14.29.1 TS1M3 SP49.2 TS2M3
64-bit Enabled Solaris2.2.14.29.1 TS1M3 SP49.2 TS2M3
HP-UX IPF2.2.14.29.1 TS1M3 SP49.2 TS2M3
Linux2.2.14.29.1 TS1M3 SP49.2 TS2M3
Solaris for x642.2.14.29.1 TS1M3 SP49.2 TS2M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.